import React, { Component } from 'react'
import Home from './pages/Home'
import  Main from  "./pages/Main";
import  {HashRouter as Router,Route,Switch} from  "react-router-dom"

export default class App extends Component {
  render() {
    return (
      <div>
          <Router>
              <Switch>
                  <Route path="/" component={Home} exact></Route>
                  <Route path="/main" component={Main} ></Route>
              </Switch>
          </Router>
      </div>
    )
  }
}
